//
//  STAdmobModel.swift
//  iPhone
//
//  Created by Toj on 3/30/23.
//

import Foundation
import HandyJSON

public class STAdmobModel: STAdModel {
    
    // admob 弹窗图片
    var materials_pop_url = ""
    // 广告类型
    let ad_type_code: STAdType = .unknown
    
    // 多少秒之后出admob弹窗信息
    var show_time_duration = 0
    var view_duration = 0

    //（外部id）活动id
    var outer_id = ""

    // 策略满足条件类型 STRewardADStrategyType
    var show_time_strategy: [Int]?

    var userDidEarnReward = false
    
    var show_time = 0
    // var strategyType: STRewardADStrategyType = .unknown
    
    // 间隔次数
    var numberInterval = Int(arc4random_uniform(10))
    // 间隔时间: 单位分钟
    var timeInterval: TimeInterval = TimeInterval(arc4random_uniform(30)+10) / 60
    
    var nativeType: STAdNativeType = .unknown
    var isHUD = false
}
